package com.demo.studentmanager.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author lzx
 */

@ApiModel
@Data
@Accessors(chain = true)
public class LeaveAudit {

    @TableId
    @ApiModelProperty
    private String id;

    @ApiModelProperty(value = "学生号")
    private String sno;

    @ApiModelProperty(value = "请假时间")
    private Date time;

    @ApiModelProperty(value = "请假天数")
    private Integer days;

    @ApiModelProperty(value = "请假原因")
    private String reason;

    @ApiModelProperty(value = "教师号")
    private String tno;

    @ApiModelProperty(value = "审核状态")
    private String status;

    @ApiModelProperty(value = "审核结果")
    private String instructions;
}
